package com.yushu.job.jobs;

import com.yushu.common.util.date.DateUtils;
import org.apache.commons.lang.time.DateFormatUtils;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.springframework.stereotype.Component;

import java.util.Date;

 /**
 * 
 * @author test
 * @CreateDate 2020-12-03 15:47:25
 */
@Component
public class TestJob implements Job {


    @Override
    public void execute(JobExecutionContext context) {
        System.err.println("测试定时任务 | " + DateUtils.dateToString(new Date()) + "开始");
    }

}
